#include <stdio.h>

char arr[10];

struct A
{
    enum day {
        monring,  
        moon,  
        aftermoon
    }; 
};

void foo(char arr[])
{
    printf("sizeof(arr) = %d\n", sizeof(arr));
    printf("sizeof(int) = %d\n", sizeof(int));
    printf("sizeof(long) = %d\n", sizeof(long));
    printf("sizeof(int*) = %d\n", sizeof(int*));
    printf("sizeof(long*) = %d\n", sizeof(long*));
}

int main()
{
    char name[5] = "zhou";
    struct A a;

    printf("sizeof(arr) = %d\n", sizeof(arr));
    foo(arr);

    printf("0x%08x, 0x%08x, 0x%08x", name, &name, &(name[0]));
    printf("sizeof(long)=%d\n", sizeof(long));
    printf("sizeof(a)=%d\n", sizeof(a));
    //printf("sizeof(a)=%d, sizeof(a::day)=%d\n", sizeof(a), sizeof(a.day));

    return 0;
}
